package com.yycwxt.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@TableName("glb_company")
public class Company {
    private Integer id;
    @NotBlank(message="不能为空")
    private String code;
    @NotBlank(message="不能为空")
    private String name;
    @NotBlank(message="不能为空")
    private String address;
    @NotBlank(message="不能为空")
    private String legalPerson;
    @NotBlank(message="不能为空")
    private String tel;
    @NotBlank(message="不能为空")
    private String bank;
    @NotBlank(message="不能为空")
    private String account;
    private String remark;
    private String created;
    private String pinyin;
    private String fullname;
}
